package com.atguigu.service;

import com.atguigu.base.BaseService;
import com.atguigu.entity.Role;

import java.util.List;
import java.util.Map;

/**
 * @author:ahang
 * @create:2022-07-19 15:02
 * @Description:
 */
public interface RoleService extends BaseService<Role> {

    List<Role> findAll();


    Map<String, List<Role>> findRolesByAdminId(Long id);

    void saveUserRoleRealtionShip(Long adminId, Long[] roleIds);
}
